Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / SetConditionalFormatting Method / SetConditionalFormatting(Int32,Int32,IConditionalFormattingRule[]) Method
Starting row index
Starting column index
The specified rules to apply for a specified cell
Example


In This Topic
    SetConditionalFormatting(Int32,Int32,IConditionalFormattingRule[]) Method
    In This Topic
    Sets conditional formatting for a specified cell on the sheet based on specified rules.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetConditionalFormatting( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal ParamArray rules() As IConditionalFormattingRule _
    ) 
    'Usage
     
    
    Dim instance As SheetView
    Dim row As Integer
    Dim column As Integer
    Dim rules() As IConditionalFormattingRule
     
    instance.SetConditionalFormatting(row, column, rules)
    public void SetConditionalFormatting( 
       int row,
       int column,
       params IConditionalFormattingRule[] rules
    )

    Parameters

    row
    Starting row index
    column
    Starting column index
    rules
    The specified rules to apply for a specified cell
    Example
    This example sets the SetConditionalFormatting method.
    See Also